<template>
  <div id="app">
    <transition name='van-slide-left'>
      <router-view />
    </transition>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted () {
    this.$store.commit('updateCode', 100)
    this.$store.commit('updateAppConfig', {
      'baseUrl': window.SITE_CONFIG['baseUrl'],
      'appName': window.SITE_CONFIG['appName'],
      'copyright': window.SITE_CONFIG['copyright'],
      'version': window.SITE_CONFIG['version']
    })
  }
}
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
</style>
